package com.xiaochong.tir.common.data.mapper;


import com.xiaochong.tir.common.data.mapper.base.BaseDao;
import com.xiaochong.tir.common.data.po.PurchaseOrder;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 此类为[基础代码]自动生成，继承了BaseDao类，已经拥有基本的增删改成操作
 * <其他请自行扩展>
 * @author cx
 * @time 2018-06-28 10:03
 */
public interface PurchaseOrderMapper extends BaseDao<PurchaseOrder,Integer> {
    List<PurchaseOrder> selectByEchangeAndSymbol(@Param("exchangeId") Integer exchangeId, @Param("symbol")String symbol, @Param("number")Integer number);

    //自行扩展
    public  List<PurchaseOrder> getPurchaseOrderListByExId(PurchaseOrder purchaseOrder);
}